package com.zy;

import com.zy.service.SomeService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-06 周三 16:46
 * @since 17
 */
public class App {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
        SomeService bean = ac.getBean("proxyFactoryBean",SomeService.class);
        String s = bean.doSome("asdf");
        System.out.println(s);
        System.out.println("-------------------");
        bean.say();
    }
}
